﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DotSpatial.Topology;
 

namespace HaGisPack
{
    [Serializable ]
    public class FPointShape : FShape 
    {
        public FPointShape(Coordinate[] coors,string id):base(id)
        {
            if (coors == null || coors.Length == 0) return;
            this.ComputePoints(coors);
            this.ComputeKeyPts(coors);
        }

        protected void ComputePoints(Coordinate[] coors)
        {
            this.normalPts.Add(coors[0]);
        }

        protected void ComputeKeyPts(Coordinate[] coors)
        {
            this.KeyPts.Add(coors[0]);
        }


    }
}
